package com.netcombine.freewill.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.netcombine.freewill.mapper.UserboardMapper;
import com.netcombine.freewill.vo.FreewillVo;

@Service
public class UserboardService{
	
	@Autowired
	private UserboardMapper userboardMapper;
	
	public FreewillVo selectUserboardInfo(FreewillVo vo){
		
		return userboardMapper.selectUserboardInfo(vo);
	}	
	
	public List<FreewillVo> selectUserboardList(FreewillVo vo){
		
		return userboardMapper.selectUserboardList(vo);
	}

	public int selectUserboardCount(FreewillVo vo) {
		
		return userboardMapper.selectUserboardCount(vo);
	}
	
}